projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926e69b
)
Fix recently broken vc-delete-file with Git
author
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 3 Sep 2021 00:34:18 +0000
(
03:34
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 3 Sep 2021 00:34:18 +0000
(
03:34
+0300)
* lisp/vc/vc-git.el (vc-git-delete-file):
Treat FILE as string, not list (bug#50334).
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index a5431abb40cb8f68e27efd6b4c92c253eb9fca08..037fbcbc48d547c6699624deddff240eed00b2b2 100644
(file)
--- a/
lisp/vc/vc-git.el
+++ b/
lisp/vc/vc-git.el
@@
-1556,7
+1556,7
@@
This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
(or (vc-git-symbolic-commit next-rev) next-rev)))
(defun vc-git-delete-file (file)
- (vc-git-command nil 0 (vc-git--literal-pathspec
s
file) "rm" "-f" "--"))
+ (vc-git-command nil 0 (vc-git--literal-pathspec file) "rm" "-f" "--"))
(defun vc-git-rename-file (old new)
(vc-git-command nil 0 (list old new) "mv" "-f" "--"))